<template>
  <div class="home">
    <img alt="Vue logo" src="@/assets/logo.png" />

    <div class="home_children_link">
      <router-link to="/home/user">用户</router-link>
      <router-link to="/home/prod">商品</router-link>
      <router-link to="/home/manage">管理</router-link>
      <router-link to="/home/study">学习</router-link>
    </div>

    <div>
      <!-- 占位符 -->
      <router-view></router-view>
    </div>
  </div>
</template>

<script>

export default {
  name: 'home',
  components: {
  }
}
</script>

<style lang="less" scope>
.home_children_link{
  a{
    font-size: 16px;
    &:hover{
      color: #42b983;
    }
  }
}
.router-link-active {
  border-bottom: 3px solid #42b983;
  color: #42b983;
}
.router-link-exact-active {
  border-bottom: 3px solid #42b983;
  color: #42b983;
}
</style>
